#ifndef VoEConnectionObserverImpl_H
#define VoEConnectionObserverImpl_H

#include "voe_network.h"
#include "jni_api.h"

class VoEConnectionObserverImpl : public webrtc::VoEConnectionObserver, public JniCallbackGlobal
{
public:
	VoEConnectionObserverImpl(void);
	~VoEConnectionObserverImpl(void);

protected:	//JniCallbackBase
	virtual bool init_jni(JNIEnv* env);

public:
	virtual void OnPeriodicDeadOrAlive(const int channel, const bool alive);

protected:
	jmethodID m_mid_OnPeriodicDeadOrAlive;
};

#endif //!VoEConnectionObserverImpl_H
